debian/upstream-version: update regex for 25.1
authorRob Browning <rlb@defaultvalue.org>
Sun, 2 Oct 2016 17:15:33 +0000 (12:15 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 2 Oct 2016 17:15:38 +0000 (12:15 -0500)
debian/upstream-version

index e54db12bb206755265f0dffad02bba7c8697787f..a6dd627c7199a283e822f7eca468eca5d71f0d04 100755 (executable)
@@ -10,7 +10,7 @@ my $version = '';
 my $found_init = 0;
 while (<$config_file>)
 {
-  if(/^AC_INIT\(emacs,\s*(\S+)\s*\)$/o)
+  if(/^AC_INIT\(GNU Emacs,\s*(\d+\.\d+(\.\d+)?)\s*\,.*/o)
   {
     $found_init and die 'found duplicate AC_INIT() in configure.ac';
     $version = $1;